package com.itheima.day03_streamControl;

public class Demo3_ifElseIf {
    public static void main(String[] args) {
        // 需求3：某个公司有一个绩效系统，根据员工的打分输出对应的绩效级别。[0,60) D  [60,80) C [80,90) B [90,100] A
        int score = 298;
        if (score >= 0 && score < 60) {
            System.out.println("您的绩效为d");
        } else if (score >= 60 && score < 80) {
            System.out.println("您的绩效为c");
        } else if (score >= 80 && score < 90) {
            System.out.println("您的绩效为b");
        } else if (score >= 90 && score <= 100) {
            System.out.println("您的绩效为a");
        } else {
            System.out.println("您的输入的内容有误");
        }
    }
}
